package com.wmh.baseservice.merchant.service;

import com.wmh.baseservice.merchant.pojo.MerchantApply;
import com.wmh.baseservice.common.mybatisplus.methods.CommonService;
import com.wmh.baseservice.merchant.pojo.MerchantInfo;
import com.wmh.baseservice.user.pojo.UsInfo;

/**
 * @author wmh generator
 * @since 2022-01-07
 */
public interface MerchantApplyService extends CommonService<MerchantApply> {

    /**
     * 根据商家id获取用户昵称头像
     */
    UsInfo getUsInfo(Long merchantId);


    /**
     * 提现审核
     */
    void audit(MerchantApply merchantApply);


    /**
     * 提现申请
     */
    void apply(MerchantApply merchantApply, MerchantInfo merchantInfo);
}
